package top.superflow.common

import top.superflow.lang.StringUtils

class LocalFlowConstant {

}

object LocalFlowConstant {
  
  final val LOCAL_FLOW_CONFIG_FILE_JSON_SUFFIX = ".json"

  final val LOCAL_FLOW_CONFIG_RULE_FILE_SUFFIX = "rule.json"


  final val LOCAL_FLOW_CONFIG_KEY_FLOW = "flow"

  final val LOCAL_FLOW_CONFIG_FLOW_FILE_SUFFIX = LOCAL_FLOW_CONFIG_KEY_FLOW + LOCAL_FLOW_CONFIG_FILE_JSON_SUFFIX

  final val LOCAL_FLOW_CONFIG_KEY_PROCESS = "process"

  final val LOCAL_FLOW_CONFIG_PROCESS_FILE_SUFFIX = LOCAL_FLOW_CONFIG_KEY_PROCESS + LOCAL_FLOW_CONFIG_FILE_JSON_SUFFIX

  final val LOCAL_FLOW_CONFIG_KEY_PROCESS_PROVIDER = "processprovider"

  final val LOCAL_FLOW_CONFIG_PROCESS_PROVIDER_FILE_SUFFIX = LOCAL_FLOW_CONFIG_KEY_PROCESS_PROVIDER + LOCAL_FLOW_CONFIG_FILE_JSON_SUFFIX

  final val LOCAL_FLOW_CONFIG_KEY_RESOURCE = "resource"

  final val LOCAL_FLOW_CONFIG_RESOURCE_FILE_SUFFIX = LOCAL_FLOW_CONFIG_KEY_RESOURCE + LOCAL_FLOW_CONFIG_FILE_JSON_SUFFIX

  final val LOCAL_FLOW_CONFIG_KEY_MAPPER = "mapper"

  final val LOCAL_FLOW_CONFIG_MAPPER_FILE_SUFFIX = LOCAL_FLOW_CONFIG_KEY_MAPPER + LOCAL_FLOW_CONFIG_FILE_JSON_SUFFIX

  final val LOCAL_FLOW_CONFIG_KEY_TEMPLATE = "template"

  final val LOCAL_FLOW_CONFIG_TEMPLATE_FILE_SUFFIX = LOCAL_FLOW_CONFIG_KEY_TEMPLATE + LOCAL_FLOW_CONFIG_FILE_JSON_SUFFIX

  final val LOCAL_FLOW_CONST_PUBLIC_GROUP = "_public"

  final val LOCAL_FLOW_CONFIG_AUTO_GROUP = "_LOCAL_FLOW_AUTO_CREATION_GROUP"


  final val CONFIG_FIELD_TEMPLATE = "template"

  final val CONFIG_FIELD_GROUP = "group"

  final val CONFIG_FIELD_KEY= "key"
}